package com.csdj.t309.papermanage.service;

import com.csdj.t309.papermanage.entity.TType;
import com.csdj.t309.papermanage.entity.TTypeExample;
import com.csdj.t309.papermanage.mapper.TTypeMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class TTypeService implements ITTypeService{
    @Resource
    private TTypeMapper tTypeMapper;

    @Override
    public List<TType> selTy() {
        TTypeExample tTypeExample = new TTypeExample();
        tTypeExample.createCriteria();
        List<TType> selTyp = tTypeMapper.selectByExample(tTypeExample);
        if(selTyp!=null){
            return selTyp;
        }
        return null;
    }
}
